package com.own.business.system.user.entity.form;

import com.own.constant.ConstantBeanSuffix;
import io.swagger.v3.oas.annotations.media.Schema;
import lombok.AllArgsConstructor;
import lombok.Getter;
import lombok.NoArgsConstructor;
import lombok.Setter;
import lombok.ToString;
import lombok.experimental.Accessors;

/**
 * LoginForm
 *
 * @author chenxueli
 * @date 2021-06-24 16:06:00
 */
@Schema(title = "用户登录" + ConstantBeanSuffix.DTO)
@Getter
@Setter
@ToString
@Accessors(chain = true)
@AllArgsConstructor
@NoArgsConstructor
public class LoginForm {

    @Schema(title = "账号")
    private String account;

    @Schema(title = "密码")
    private String password;

    @Schema(title = "客户端")
    private String clientId;

    @Schema(title = "加密秘钥字段key")
    private String key;

    @Schema(title = "登录的ip", hidden = true, required = false)
    private String ip;

}
